<?php
session_start();//should put to the initial part
$_SESSION = array();

?>
<html>
<head>
<title><?=SITENAME?> Log out</title>
</head>
<body>
<script language="javascript">
alert("Log out successfully!");
history.go(-1);
</script>
</body>
</html>